FROM python:3.7-buster

WORKDIR /app

EXPOSE 8000

ADD requirement.txt .
RUN pip install -r requirement.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/

CMD ["uvicorn", "DFDA.asgi:application", "--host","0.0.0.0"]